package com.jic.order.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.order.entity.OrderExamine;
import com.jic.order.manage.request.OrderExamineRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单审核设置
 * @author : 
 * @email : 
 * @since : 2020-05-06 10:37:31
 * @version : v1.0.0
 */
@Mapper
public interface  OrderExamineMapper {

    long insert(OrderExamine orderExamine);

    long delete(Long id);

    long update(OrderExamine orderExamine);

    OrderExamine queryByPrimaryKey(Long id);

    List<OrderExamine> query(OrderExamine orderExamine);

    List<OrderExamine> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("orderExamine") OrderExamine orderExamine);

    long queryPageCount(OrderExamine orderExamine);

    void batchUpdateStatus(@Param("orderExamineRequest") OrderExamineRequest orderExamineRequest);
}